import time
import threading


def sleeper(n,name):
    print ("Sleep 5 sec")
    time.sleep(n)
    print ('Hello {}'.format(name))



for i in range(1500):
    t = threading.Thread(target=sleeper, name='thread{}'.format(i), args=(10, 'Tony'))
    t.start()
    print ('Thread start ,now is {}'.format(t.name))


